﻿using Common.CustAttributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZXIMEW.Models.DModels
{
    /// <summary>
    /// 设备数据信息实体
    /// </summary>
    [Table("ParaDataInfos")]
    [PrimaryKey("Id", autoIncrement = true)]
    public class ParaDataInfo
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 冷却进水温度
        /// </summary>
        public float CWInTemperature { get; set; }
        /// <summary>
        /// 冷却水出水温度
        /// </summary>
        public float CWOutTemperature { get; set; }
        /// <summary>
        /// 冷冻水供水温度
        /// </summary>
        public float FreezeInTemperature { get; set; }
        /// <summary>
        /// 冷冻水回水温度
        /// </summary>
        public float FreezeOutTemperature { get; set; }
        /// <summary>
        /// 冷却水进水压力
        /// </summary>
        public float CWInPressure { get; set; }
        /// <summary>
        /// 冷却水出水压力
        /// </summary>
        public float CWOutPressure { get; set; }
        /// <summary>
        /// 冷冻水供水压力
        /// </summary>
        public float FreezeInPressure { get; set; }
        /// <summary>
        /// 冷冻水回水压力
        /// </summary>
        public float FreezeOutPressure { get; set; }

        /// <summary>
        /// 1#冷却泵频率
        /// </summary>
        public int CoolPump1Frequency { get; set; }
        /// <summary>
        /// 2#冷却泵频率
        /// </summary>
        public int CoolPump2Frequency { get; set; }
        /// <summary>
        /// 3#冷却泵频率
        /// </summary>
        public int CoolPump3Frequency { get; set; }
        /// <summary>
        /// 1#冷冻泵频率
        /// </summary>
        public int ColdPump1Frequency { get; set; }
        /// <summary>
        /// 2#冷冻泵频率
        /// </summary>
        public int ColdPump2Frequency { get; set; }
        /// <summary>
        /// 3#冷冻泵频率
        /// </summary>
        public int ColdPump3Frequency { get; set; }
        /// <summary>
        /// 房间实时温度
        /// </summary>
        public float CurRoomTemperature { get; set; }
        /// <summary>
        /// 1#冷冻泵功率、电流
        /// </summary>
        public int ColdPump1Power { get; set; }
        public int ColdPump1EC { get; set; }
        /// <summary>
        /// 2#冷冻泵功率、电流
        /// </summary>
        public int ColdPump2Power { get; set; }
        public int ColdPump2EC { get; set; }
        /// <summary>
        /// 3#冷冻泵功率、电流
        /// </summary>
        public int ColdPump3Power { get; set; }
        public int ColdPump3EC { get; set; }
        /// <summary>
        /// 1#冷却泵功率、电流
        /// </summary>
        public int CoolPump1Power { get; set; }
        public int CoolPump1EC { get; set; }
        /// <summary>
        /// 2#冷却泵功率、电流
        /// </summary>
        public int CoolPump2Power { get; set; }
        public int CoolPump2EC { get; set; }
        /// <summary>
        /// 3#冷却泵功率、电流
        /// </summary>
        public int CoolPump3Power { get; set; }
        public int CoolPump3EC { get; set; }
        /// <summary>
        /// 1#冷水机组 功率、电流
        /// </summary>
        public int CWCrew01Power { get; set; }
        public int CWCrew01EC { get; set; }
        /// <summary>
        /// 2#冷水机组 功率、电流
        /// </summary>
        public int CWCrew02Power { get; set; }
        public int CWCrew02EC { get; set; }
        /// <summary>
        /// 3#冷水机组 功率、电流
        /// </summary>
        public int CWCrew03Power { get; set; }
        public int CWCrew03EC { get; set; }
        /// <summary>
        /// 1#冷水机组 进水温度（低）、出水温度（低）、进水温度（高）、出水温度（高）
        /// </summary>
        public decimal CWCrew01InTemperLow { get; set; }
        public decimal CWCrew01OutTemperLow { get; set; }
        public decimal CWCrew01InTemperHigh { get; set; }
        public decimal CWCrew01OutTemperHigh { get; set; }
        /// <summary>
        /// 2#冷水机组 进水温度（低）、出水温度（低）、进水温度（高）、出水温度（高）
        /// </summary>
        public decimal CWCrew02InTemperLow { get; set; }
        public decimal CWCrew02OutTemperLow { get; set; }
        public decimal CWCrew02InTemperHigh { get; set; }
        public decimal CWCrew02OutTemperHigh { get; set; }
        /// <summary>
        /// 3#冷水机组 进水温度（低）、出水温度（低）、进水温度（高）、出水温度（高）
        /// </summary>
        public decimal CWCrew03InTemperLow { get; set; }
        public decimal CWCrew03OutTemperLow { get; set; }
        public decimal CWCrew03InTemperHigh { get; set; }
        public decimal CWCrew03OutTemperHigh { get; set; }
        /// <summary>
        /// 1#冷却塔 功率、频率、入口压力、出口压力、入口温度、出口温度
        /// </summary>
        public int CWT01Power { get; set; }
        public int CWT01Frequency { get; set; }
        public decimal CWT01InPressure { get; set; }
        public decimal CWT01OutPressure { get; set; }
        public decimal CWT01InTemperature { get; set; }
        public decimal CWT01OutTemperature { get; set; }
        /// <summary>
        /// 1#冷却塔 功率、频率、入口压力、出口压力、入口温度、出口温度
        /// </summary>
        public int CWT02Power { get; set; }
        public int CWT02Frequency { get; set; }
        public decimal CWT02InPressure { get; set; }
        public decimal CWT02OutPressure { get; set; }
        public decimal CWT02InTemperature { get; set; }
        public decimal CWT02OutTemperature { get; set; }
        /// <summary>
        /// 采集时间
        /// </summary>
        public DateTime InsertTime { get; set; }
        /// <summary>
        /// 是否已删除 
        /// </summary>
        public int IsDeleted { get; set; }
    }
}
